package processing;

import java.awt.*;
import java.awt.event.*;
import java.applet.*;

public class MyApplet extends Applet implements ActionListener { 
    TextField inputLine = new TextField(15);  
    
    public MyApplet() {
        add(inputLine);
        inputLine.addActionListener(this);
    }
    
    public void actionPerformed(ActionEvent event) {
        String s = inputLine.getText();
        String sUp = s.toUpperCase();
        inputLine.setText(sUp);
    } 
}

